package br.com.persist.api;

import java.util.List;

public interface PersistentContext {

	Object persist(Object object) throws RuntimeExecutionException;

	Criteria search();

	Criteria search(Class<?> entity);

	List<Object> doSearch(Criteria criteria) throws RuntimeExecutionException;

	void delete(Object object);
}
